package com.zimi.model;

    import com.baomidou.mybatisplus.annotation.IdType;
    import com.baomidou.mybatisplus.extension.activerecord.Model;
    import java.time.LocalDateTime;
    import com.baomidou.mybatisplus.annotation.TableId;
    import java.io.Serializable;
    import java.util.Date;

    import io.swagger.annotations.ApiModel;
    import io.swagger.annotations.ApiModelProperty;
    import lombok.Data;
    import lombok.EqualsAndHashCode;
    import lombok.experimental.Accessors;

/**
* 单位职务表 model
* @author lnintr
* @since 2019-05-22
*/
    @Data
    @Accessors(chain = true)
    @EqualsAndHashCode(callSuper = true)
    @ApiModel(value="SysDuty对象", description="单位职务表")
    public class SysDuty extends Model<SysDuty> {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "职务名称")
    private String dutyName;

    @ApiModelProperty(value = "状态:1:有效；2:失效")
    private Integer dutyState;

    @ApiModelProperty(value = "职务排序")
    private Integer dutySort;

    @ApiModelProperty(value = "职务备注")
    private String dutyRemark;

    @ApiModelProperty(value = "创建人")
    private Integer createUser;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    private Integer updateUser;

    @Override
    protected Serializable pkVal() {
        return id;
    }

}
